How to add Google Analytics tags to Stash?

In JIRA one can add Google Analytics tags within Annoucement banner via <myjira.com>/secure/admin/EditAnnouncementBanner!default.jspa

How do I apply GA tags in Stash?

4 answers

For Stash, I have just put together: https://bitbucket.org/atlassianlabs/google-analytics-plugin .

I have built and attached a binary of this plugin here https://bitbucket.org/atlassianlabs/google-analytics-plugin/downloads 

Please let me know if this works, and I will consider adding this to the marketplace.

Please note however that this is an unsupported plugin. Its open source so feel free to provide any improvements via a PR to the above repository.

Cheers,

Nick

Awesome! Will check it out and let you know how it went. Thanks.

Works fine, Nick. Thanks heaps. Should be included in marketplace.

Nick: So I installed it using the UPM (uploaded the binary you shared). Configured the Tracking ID. I did all this less than 4 hrs ago. I was hoping to see the data in Google Analytics, at least in the real time section. Any idea how long it would take before the data starts showing up??

Ok - I have made some adjustments to the plugin. Specifically not using auto to configure GA, instead using the actual hostname of your Stash instance. Please try the new version (1.3) at https://bitbucket.org/atlassianlabs/google-analytics-plugin/downloads This should be a lot more robust.

We are looking for the same capability. Can anyone from Atlassian help?

Nick:

Thanks a bunch. Installed the plugin and GA is showing the data. Yay!

Quick question: We also have a Crucible install. Can I use the plugin you talk about here:

https://answers.atlassian.com/questions/227708

Is there an updated version? Or should the version highlighted in the article above the latest?

Cheers

Anand

Hi Nick,

 

The plugin looks like is not available anymore.

Is there any new location or Bitbucket server alternative?

 

Many Thanks,

Antonio 

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

641 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot