PLAIN TEXT CODE: list = ['one', 'two', 'three', 'one', 'one', 'four', 'two'] #convert the list into a set. An element can only exist once within a set set = set(list) #convert the set back into a list type list = list(set) print list Are those variable names confusing? Let's look at that example again: PLAIN [...]
Monthly Archives: July 2008
Testing your regular expression Goal URLs for Google Analytics
Your dilemma: You want to create a Google Analytics Goal that defines a Goal URL using a regular expression match. But how do you test it without having to wait 24 hours for your Google Analytics reports to be updated? Help is at hand: Regular expressions can be tested using the search box in Google Analytics [...]
Google Analytics and Troubleshooting AdWords Auto-Tagging
When reading your AdWords reports in Google Analytics, there are many possible reasons why there may be discrepancies between Google Analytics visits and AdWords clicks. If you see wildly different numbers for visits and clicks, the likely culprit is that the AdWords auto-tagging parameter is being stripped from the landing page URL. What happens when [...]
