Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2012-11-10 17:52:03

Gewuerz
Member
Registered: 2012-10-04
Posts: 56

Google Conversion-Tracking

I use Google-Adwords to get more visitors.

Adwords puts Conversion-Tracking ready to be able to analyse,
which keywords lead to the purchase.

http://support.google.com/adwords/bin/answer.py?hl=de&answer=1722054&from=86276&rd=1

So which lead with Google adwords to opposed keywords to my purchase side (cart side) or to the purchase buttons (normal purchase button and Paypal Purchase button).
Google puts a code ready I on the suitable side must insert:
This code looks thus:

<!-- Google-Code für Kaufbestätigungsseite -->
  <script type="text/javascript">
  /* <![CDATA[ */
  var google_conversion_id = 1234567890;
  var google_conversion_language = "en_US";
  var google_conversion_format = "1";
  var google_conversion_color = "666666";
  var google_conversion_label = "Kauf";
  if (<? echo $totalValue ?>) {
  var google_conversion_value = <? echo $totalValue ?>
  }
  /* ]]> */ 
  </script>
  <script type="text/javascript"
  src="http://www.googleadservices.com/pagead/conversion.js">
  </script>
  <noscript>
  <img height=1 width=1 border=0
  src="http://www.googleadservices.com/pagead/
  conversion/1234567890/?value=
  <? echo $totalValue ?>&label=Kauf&script=0">
  </noscript>
  </body>

Where must I insert the code, so that the analyse functions works in the visit of the purchase side (cart) or and while click the purchase buttons?

Thanks for help Wolfgang

Web side with TTG cart CE2, Highslide CE2, TTG Pages CE2

Please Excuse my bad english

Last edited by Gewuerz (2012-11-10 17:56:11)

Offline

#2 2012-11-11 16:38:24

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Google Conversion-Tracking

I'd use PHPlugins to create a function to insert the code into all of my pages, latching onto the ttg_body_bottom hook. Get started here: http://wiki.theturninggate.net/doku.php … _phplugins


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB