Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #689352

    Hello,

    I have SumoMe (Content Analytics and Heat Map) running on my home page. The plugin seems to think that the entire page is contained within the first Full Width Color Section. On my homepage, the end of the first image background is apparently 100% of the page even though there is way more to scroll to. If I remove it, it will track until the next Full Width Color Section. Below are the steps that the plugin support would like me to implement to resolve the issue:
    **************************************
    “You are experiencing this issue because SumoMe is mistaking an article on your page as your main container.
    SumoMe article detection will sometimes return “False positives” and flag something as an article, even if it isn’t. When this occurs we recommend you do the following:

    * Add role=”main” to the primary container.

    * Add our specialized class “aside” which will allow SumoMe to ignore the false positive

    If you are unsure how to do this, I would suggest contacting your theme creator as they would be able to assist you further.
    Once you’ve made the changes, this should resolve the issues SumoMe is having with finding your articles properly.”
    **************************************

    Can you explain what I need to do to resolve this? Thank you for your help!

    #689357

    Hi JaredBurnett!

    Can you please point out the section where you need to apply these changes?
    We do not provide support for 3rd party plugins but we do not mind taking a quick look

    Best regards,
    Yigit

    #689392

    My homepage consists of 6 Color Sections. I think the issue is with each color section because if I take one out, and have its content out of a section, it will track till the end of the next Color Section. The goal is for the Plugin to be able to track the entire page. So whatever needs to be done for that to happen. You can see in the image attached:( http://pasteboard.co/5oblux7Gj.png ) that the plugin thinks the end of the page is at the end of my first color section.

    SumoMe’s theme support suggested this:

    * Add role=”main” to the primary container.
    * Add our specialized class “aside” which will allow SumoMe to ignore the false positive

    Thanks Again!

    #689394

    Hi!

    I am not sure if adding attribute using jQuery would help but let us give it a try. Please add following code to Functions.php file in Appearance > Editor

    function avia_custom_home_attr(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.home #main').attr('role','main');
    jQuery('.home #main').addClass('aside');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_custom_home_attr');

    Cheers!
    Yigit

    #689399

    It does not appear to have made a difference. I purged the varnish and cache as well. For what it’s worth, I do remember it tracking the whole page at some point before (maybe like last year). Not sure if you guys made any changes to the theme that would have affected containers this way since then.

    #689460

    Hi!

    There are no changes, that would block the changes to to the theme.
    If you contact the SumionMe Guys, what they have told you? Noah is a really good guy, I am sure he will be able
    to help you as good as possible!

    Thanks a lot

    Best regards,
    Basilis

    #689465

    I’m reaching back out to SumoMe support. If you would, please leave this ticket open for the time being to see if they have any more code they need me add.

    Thanks,
    Jared

    #689501

    Hello guys. This is what SumoMe suggested to try next…
    ************************************
    I would suggest adding the “aside” class to the article below, as this should resolve your issue:

    <main class=”template-page content av-content-full alpha units” style=”background: rgba(0, 0, 255, 0.498039);”></main>

    After adding the aside class, the article should look like this:

    <main class=”template-page content av-content-full alpha units aside” style=”background: rgba(0, 0, 255, 0.498039);”></main>
    ************************************

    How do I go about making these changes?

    Thanks,
    Jared

    #690288

    Hi!

    Please try changing the code to following one

    function avia_custom_home_attr(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.home main').addClass('aside');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_custom_home_attr');

    Best regards,
    Yigit

    #690320

    No dice. Looks like it’s still just tracking the first Color Section or it thinks the main content is only to the end of the Color Section.

    #692045

    Hi,

    <main class=”template-page content av-content-full alpha units” style=”background: rgba(0, 0, 255, 0.498039);”></main>
    

    The markup above does not exist. Could you please ask SumoMe to provide a screenshot of the section? And what do they mean by “primary container”? Please try this code while you’re waiting for a response.

    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
        function gh() {
    		$('.home #av_section_1 main.template-page').attr('role','main');
    		$('.home #av_section_1 main.template-page').addClass('aside');
    	}
    
    	gh();
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    #692453

    Hey guys. It looks like the code didn’t help. I reached out to SumoMe about what you requested. This is their reply:

    Hello, again!

    I have attached a screenshot that shows the article being mistaken as your main container.

    You will see within the screenshot that once the “aside” class has been added and new campaign has been started, Content Analytics tracks your page perfectly.

    Hope this helps!
    Attachment(s)
    https://p6.zdusercontent.com/attachment/912584/aY3tS9d0ZzuOAaiDw6AYpiywI?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..9aKlPEq6-V3-7KakFiBHmw.ovTiq2VT1CSbvfIAJGZtCT63BePfDZH1ZSKtft1bqQ0eYU21V9DhqYjsKooEIb-DE8CuzVcGiPMpTQ29jyBoe-r5qQ-YsxQbFI7FqKwizH1SIn-NHWp3MoDL5XDwlUMKeFhmw2Espp5wiOgu_b3B56-mJ4cN5OtYoIQ_lUaVaafXdLB-3ldpVZbYTK4ebKiFrtK8EHRYg37V4cKyX2kCDqmhKkEKX-KTFL1ljIXh5_hgHyHBqqlH7o0qxC3Izxws8JrRhleJwZVW03gf6F1_Ng.ZF5jbFCQ8tHG_pbWuhajYg

    Let me know what code I need to add or you can do it if you want. I see in the screenshot that when SumoMe added the aside class manually it works but it’s not a permanent fix.

    #694131

    Hi,

    Thank you for the info.

    You will see within the screenshot that once the “aside” class has been added and new campaign has been started, Content Analytics tracks your page perfectly.

    What about the role attribute? Where do we have to apply it? We modified the code above. Please try it again.

    Best regards,
    Ismael

    #695240

    Hello,

    It doesn’t look like changing that code made a difference.

    Below is the response from SumoMe regarding your question: “Adding the “aside” class to the article should work just fine without adding the role attribute.”

    #695671

    Hi,

    Please go to Appearance > Editor and open functions.php file and find

    $avia_config['layout']['fullsize'] 		= array('content' => 'av-content-full alpha', 'sidebar' => 'hidden', 	  	  'meta' => '','entry' => '');

    and change it to

    $avia_config['layout']['fullsize'] 		= array('content' => 'av-content-full alpha aside', 'sidebar' => 'hidden', 	  	  'meta' => '','entry' => '');

    Let us know if that helps.

    Best regards,
    Yigit

    #695681

    That did the trick! Thank you very much! Case closed!

    #695683

    Hi!

    Great!
    You are welcome, glad we could help. Let us know if you have any other questions or issues!

    Regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘SumoMe Not Tracking Full Page’ is closed to new replies.