Search code examples
javascripthtmlgoogle-analyticsmeasurement-protocol

Google Anytics without javascript


We want to track the utm_source and utm_medium on Google Analytics on one of our clients site. We also want to get the conversion of the ad.

We can:

ga('send', 'pageview');  //Using our tracking number

This would work perfectly but our client will no allow js code added. We are thinking of using http://www.google-analytics.com/__utm.gif but according to doc, utmcc should pass the cookie values.

Is there any way we can use utm.gif with static parameter values?

<img src="http://www.google-analytics.com/__utm.gif?....">

Solution

  • You can use email tracking it works though the measurement protocol which is the same as the JavaScript library uses.

    <img src="https://www.google-analytics.com/collect?v=1&..."/>
    

    You can build up the hits as you wish.