Bulk Add websites to Google Analytics

Welcome Forums General PowerShell Q&A Bulk Add websites to Google Analytics

This topic contains 0 replies, has 1 voice, and was last updated by  random commandline 2 weeks, 1 day ago.

  • Author
    Posts
  • #174877

    Participant
    Topics: 4
    Replies: 269
    Points: 115
    Helping Hand
    Rank: Participant

    I have a list of 50 websites that I need to add to Google Analytics.  The websites' usage is tracked using Google Analytics.  The manual process to add a website is click Admin > Create Property > Web (Measure Website).  What would be a good way to automate the creation of properties?  Should I use the Google API with PowerShell or Invoke-WebRequest?  Does anyone have an example of posting to Google Analytics?  In the past, I would use the 'New-Object -ComObject "InternetExplorer.Application"' method to post to websites.

     

You must be logged in to reply to this topic.