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

added a new template for adobe_analytics using iframePing #3035

Merged
merged 1 commit into from May 11, 2016

Conversation

cory-work
Copy link
Contributor

Solves #3034

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@cory-work
Copy link
Contributor Author

I signed the CLA under Adobe's company agreement

@dvoytenko
Copy link
Contributor

/to @avimehta for review
/cc @cramforce

@@ -458,6 +459,16 @@ export const ANALYTICS_CONFIG = {
},
},

'adobeanalytics_iframePing': {
Copy link
Member

Choose a reason for hiding this comment

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

Lets rename to not include iframePing. How about view?
Would like to enable us to not encode the implementation in the name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cramforce,

No problem making this change but am a little unsure of your ask. Are you asking for "adobeanalytics_iframeView", or "adobeanalytics_view"?

Copy link
Member

Choose a reason for hiding this comment

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

Something without the word iframe in it that makes sense to you.

@@ -458,6 +459,15 @@ export const ANALYTICS_CONFIG = {
},
},

'adobeanalytics_nativeConfig': {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add an example in analytics.amp.html and some documentation to amp-analytics.md?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@avimehta,

We have doc and example on our site. Would you be okay with a link to those docs and samples?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, that would be perfect!

Copy link
Member

Choose a reason for hiding this comment

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

+1 Links are the best!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added an example in analytics.amp.html. We already have a link to our documentation in amp-analytics.md.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see updates to amp-analytics.md. Maybe that file got missed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@avimehta We already have an entry in amp-analytics.md :)

<amp-analytics type=adobeanalytics>
<script type="application/json">
{
"requests": {
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks good but just wanted to point out that we can do this using extraUrlParams. I just sent out a PR for the piece that was missing. #3168

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean the items I have listed in the vars below? Yeah I know that extraUrlParams can be used here. In fact I'm a big fan of the extraUrlParams. Historically, variable expansion has been a little dodgy in the extraUrlParams; is that what your PR addresses?

Made "image" the only transport used for adobeanalytics
Added Adobe Analytics example to examples/analytics.amp.html
Added Adobe Analytics native config example to examples/analytics.amp.html
@avimehta
Copy link
Contributor

CLA needs verification. the PR looks good to me otherwise.

@cramforce
Copy link
Member

CLA-wise is fine to merge after cory's comment.

@avimehta Feel free to merge when your last comment is addressed.

@cory-work
Copy link
Contributor Author

I've signed the CLA under the Adobe company umbrella. I don't see any other issues. Was there another issue you wanted me to take a look at?

@avimehta
Copy link
Contributor

@cramforce I don't have any other comments. Unfortunately, the merge button is not active for me (because of CLA i think) so you'll have to merge.

@cramforce cramforce merged commit 6002855 into ampproject:master May 11, 2016
@cory-work
Copy link
Contributor Author

@cramforce when will this make it into the wild?

@cramforce
Copy link
Member

Likely next Thursday.

@cramforce
Copy link
Member

And some time tomorrow you can try it in dev channel.

@cory-work
Copy link
Contributor Author

Awesome. Thanks!

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

7 participants