Jump to content

Archived

This topic is now archived and is closed to further replies.

LECDelhi

Google Analytics - How to place snippets to track?

Recommended Posts

LECDelhi

Hi everyone!

 

Where and how to place google snippets code in DMS to track my site in Google Analytics?

 

as per Google advice - "One of the main advantages of the asynchronous snippet is that you can position it at the top of the HTML document. This increases the likelihood that the tracking beacon will be sent before the user leaves the page. It is customary to place JavaScript code in the <head> section, and we recommend placing the snippet at the bottom of the<head> section for best performance."

 

So how to find the head section if I can't see the code? Any idea?

 

Share this post


Link to post
Share on other sites
rmaxsg

Hey @LECDelhi

 

You go over to

1. Custom Code Tab

 

2. At left sidebar you will see custom script

 

3.Put your Google analytic code in it.  Done!

 

Any question please refer the image

 

http://cl.ly/image/3w2i3L1S3q2L

Share this post


Link to post
Share on other sites
LECDelhi

rmaxsg Thanks a lot!  :bow:

Share this post


Link to post
Share on other sites
Rob

@rmaxsg  Well done!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • flourishdesignstudio
      By flourishdesignstudio+
      Hello,
      We are working on a site and the customers are complaining that the site loads too slowly. They contacted their host who mentioned that the Java Script is all loading at the beginning. Is it possible to delay the load of the less important Java Script until after the initial load to speed up the site? The goal is to load the page faster by minimizing the initial javascript calls.
      Are there any preferred plugins that you would recommend or does this end up causing excessive problems with plugins, etc.?
      Thanks for the help!
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      It seems like the H1 tag in the Pagelines 5 framework is missing the entry-title tag. Google Search Console complains about that and it seems like it needs to be fixed in the theme. Based on another thread, this looks like a known issue but I haven't seen any updates from the framework team.
      Any indication of what the status on this issue is?
      The site in question that I have that issue with is michaelkummer.com.
      Thanks
      Michael
    • Objectif-Mariage
      By Objectif-Mariage+
      Hello. I just past my PL5 website to BING analyser, and I was very surprise when it told me I had five <H1> ! ? What ? how it's possible ?? 
      So I have checked the code, and obviously, some PL plugin (like Elements), create some <h1> balises for their Header.... Great ! 
      So I have try to simply not use this Element's Header, leting them blanck. But <H1> balise is still there ! Empty but sill there ! ( <h1 class="elements-header" data-bind="plshortcode: header"></h1>).
      I have took Element as exemple, but it's the same for other PL plugins. Even if you let a part blank, PL plugin will create an empty balise ! :-(
      I'm not developper, and don't know PHP. But I guess it's possible to create a fonction, witch would say . 
      "if one balise is empty => then don't write it."
      What guy's do you think about that ?
       
       
      There is a link to my website : http://www.wedding-photography-minneapolis.com/
×