Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add amp-analytics vendor config for INFOnline #2020

Merged
merged 1 commit into from Feb 15, 2016

Conversation

sebastianbenz
Copy link
Contributor

No description provided.

'pageview': {
'on': 'visible',
'request': 'pageview',
'iframePing': true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to
'iframe' + /* TEMPORARY EXCEPTION */ + 'Ping'
to pass presubmit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sebastianbenz
Copy link
Contributor Author

PTAL

'vars': {
"sv": "ke",
"ap": "1",
"url": "https://3p.ampproject.net/custom/amp-analytics-infonline.html"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this into the request.

@cramforce
Copy link
Member

LGTM with one comment

@cramforce cramforce added the LGTM label Feb 15, 2016
'pageview': {
'on': 'visible',
'request': 'pageview',
'iframe' + /* TEMPORARY EXCEPTION */ + 'Ping'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this line and add this to the end of the file:

ANALYTICS_CONFIG['infonline']['triggers']['pageview'][ 'iframe' + /* TEMPORARY EXCEPTION */ + 'Ping'] = true;

};
ANALYTICS_CONFIG['infonline']['triggers']['pageview'][ 'iframe' + /* TEMPORARY EXCEPTION */ + 'Ping'] = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need a line break for lint.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lint is happy now

@sebastianbenz
Copy link
Contributor Author

Added canonicalHost and canonicalPath to request. PTAL.

@cramforce
Copy link
Member

LGTM

cramforce added a commit that referenced this pull request Feb 15, 2016
Add amp-analytics vendor config for INFOnline
@cramforce cramforce merged commit 2bbe6f2 into ampproject:master Feb 15, 2016
@sebastianbenz sebastianbenz deleted the infonline branch February 15, 2016 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants