AMP Click tracking: Add explicit dependency between click tracking and analytics/call tracking
What's the issue?
Reading the "URL" depends on the click tracking to finish (i.e the system automatically waits for the click tracking request to come bak)
While this works for cases where the component explicitly reads the URL, it isn't reliable for when there's dependency on a cookie set by the click tracking request - examples include AdWords conversion and call tracking. Add explicit dependency on the click tracking response in these cases (i.e delay execution till the click tracking response is back)
@sucharithav I am trying to understand the request here. Please kindly guide me : )
While this works for cases where the component explicitly reads the URL. It isn't reliable for when there's dependency on a cookie set by the click tracking request.
When you mention the click tracking request. You mean the 3p click tracking request url here? And we should wait for a response? what if in the case that there is no response back?
delay execution till the click tracking response is back
Delay execution of reading/setting cookie?
When you mention the click tracking request. You mean the 3p click tracking request url here? And we should wait for a response? what if in the case that there is no response back?
As far as AdWords conversion tracking is concerned, waiting for the 1P tracking request to complete is sufficient (i.e the clickUrl request sent from here).
Delay execution of reading/setting cookie?
No, delay execution of all components that might rely on the cookies set by the 1P click tracking request, or its response - as far as I know, this includes "amp-analytics", and "amp-call-tracking"
As far as AdWords conversion tracking is concerned, waiting for the 1P tracking request to complete is sufficient (i.e the clickUrl request sent from here).
Waiting subject to some timeout would be sufficient.
Any updates on this?
This issue hasn't been updated in awhile. @zhouyx Do you have any updates?
This is no longer required for AdWords click tracking.