AMP Client ID

Gold Contributor
Gold Contributor

 

My question is regarding a client ID issue. As on 

https://developers.google.com/analytics/devguides/collection/amp-analytics/client-id 

mentioned, in different scenarios, the client ID is stored in different cookies. In the article "Tealium for AMP" the script defines the visitor_id:

 

"vars": {
        "account": "##TEALIUM_ACCOUNT##",
        "profile": "##TEALIUM_PROFILE##",
        "datasource": "##TEALIUM_DATASOURCE##", // optional
        "visitor_id": "CLIENT_ID(AMP_ECID_GOOGLE)"

 

How is it possible with Tealium to identify an user through AMP and NO-AMP sites? Because of the different cookies, the same user has different ID's, it should be possible to merge them. 

Regards Patrick

 

1 REPLY 1

AMP Client ID

Bronze Contributor
Bronze Contributor

Hello @PatrickHegnauer. I believe you should enable the Client ID API:

https://support.google.com/analytics/answer/7486764?hl=en

I've never tried this yet so cannot provide specific details, but I'd think you would need to set the "useAmpClientId" parameter to true.

Public