Skip to content

Clarify instructions for GTM #24

@GrottyMC

Description

@GrottyMC

The current documentation shows a ga('create') code snippet but doesn't provide clear instructions for GTM implementation specifically.

Current Documentation:

The documentation explains that the clientId value is passed as a parameter in the URL of the success page:

/checkout/onepage/success/?clientId=****/

It mentions that this should be "extracted and used in the javascript code that triggers the GA/UA/GTM/other event for the conversion."

The provided code example shows:
javascriptga('create', 'UA-XXXXX-Y', {
'storage': 'none',
'clientId': myClientId
});

Issue:
For GTM specifically, it's unclear whether we should:

  • Use a GTM Config tag to send the clientId
  • Use a GTM Purchase/Conversion tag to send the clientId
  • Or both?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions