Common RegEx for Google Analytics

Category : Google Analytics

Regular Expressions (RegEx) = characters used to define a search pattern

RegEx seems like a massive headache once you start expanding beyond standard pipe (|) usage. But if you learn a just a few more basic characters, you can create more specific filters in GA, and also use them to define filters in DashThis instead of creating segments.

Common Characters for GA:

  • Pipe (|) = means or
  • Caret (^) = means begins with
  • Dollar Sign ($) = means ends with
  • Period-Asterisk (.*) = matches zero or more random characters

Example:

We want to analyze metrics for the home page plus a few select pages on a site….

Filter = Include Page matching RegEx ^/$|^/mens-clothing$|^/womens-clothing$|^/kids-clothing$

Note – The string above will exclude any URLs with tracking parameters or sub-pages. If we wanted to include them in our Analytics report, we would need to use Period-Asterisk (.*)…

Filter = Include Page matching RegEx ^/$|^/mens-clothing.*|^/womens-clothing.*|^/kids-clothing.*

Google Analytics = https://online-metrics.com/regular-expressions/

DashThis = https://dashthis.com/support/google-analytics-filters-and-segments-all-you-need-to-know/

Steps required for adding sites to AWS

Category : Amazon AWS

Step 1 : Sign in to the AWS Management and open the Amazon S3 -> https://console.aws.amazon.com/s3/

Step 2 : Click on Create bucket.

In the Bucket name field, type a unique name for your new bucket.
*The name must be unique across all existing bucket names in Amazon S3.

For Region, choose the Region where you want the bucket to reside.

Click on Create.

 

Step 3 : In the Bucket name list, choose the name of the bucket and Click on “Properties

In “Static website hosting
Select “Use this bucket to host a website” and enter “index.html” in Index document

 

Step 4 : Click on “Permissions
Select -> “Block public access

Uncheck “Block all public access

Step 5 : Select “Bucket Policy” Tab

and add the following code :

{
“Version”: “2008-10-17”,
“Statement”: [
{
“Sid”: “AllowLargeFSUploads”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::902500896138:user/wpengine-largefs”
},
“Action”: [
“s3:ListBucket”,
“s3:GetObject”,
“s3:PutObject”
],
“Resource”: [
“arn:aws:s3:::xxxxxxxx-wpengine“,
“arn:aws:s3:::xxxxxxxx-wpengine/*”
]
},
{
“Sid”: “PublicReadGetObject”,
“Effect”: “Allow”,
“Principal”: “*”,
“Action”: “s3:GetObject”,
“Resource”: “arn:aws:s3:::xxxxxxxx-wpengine/*”
}
]
}

NOTE – Change the name from “xxxxxxxx-wpengine” to “your-bucket-name

Step 6 :  Select “Overview” Tab

Upload a “341750cd.largefs” file if you are transfering site content from shared server. Download file here.

Upload a “4bd5d918.largefs” file if you are transferring site content from a dedicated server. Download the file here.

Step 7 : After performing all the above steps you have to contact WPEngine and give them a bucket name and bucket region so that they can move the site content to AWS.

HubSpot – Archiving & Changing Publish Status for Scheduled Emails

Category : Hubspot

Archiving scheduled emails cannot be done in bulk. Archiving scheduled emails in bulk do not change the publish status.
Figure 1.

The emails will go to the Archived Folder as scheduled and therefore sent out with at the scheduled time. In other words, there is no option to cancel the send. Figure 2.

Best Practices:

  1. Individually delete the scheduled emails permanently. Figure  3.
  2. If you may use the content again: archive each email individually, making sure you check the box “Archive and Cancel Send” Figure 4.

BambooHR Calendar Feed

Category : General

You can easily add BambooHR Who’s Out calendar feed to Outlook. Once you add this feed, all staff approved time off will automatically be added to your calendar.

Starting January 1, 2020, we will discontinue using the Vacation Calendar PIC in Outlook.

1. You can get the feed within your BambooHR account by clicking on the iCal link in the Celebrations widget or copying the link below.

  • https://walkwithpic.bamboohr.com/feeds/feed.php?id=df7650a05143fa15c23d5bb0912dd087

2. Open Outlook Online and go to your Calendar

3. Click on Import Calendar

4. Choose From Web

5. Paste feed link into Link to calendar field

6. Name Calendar Who’s Out in the Calendar name field

Instagram Hashtags Finder

Category : Instagram

How do you know what hashtags to use on social media?

There are a few tools out there to help find the best ones for Instagram

Webstagram

https://www.webstagramsite.com/instagram-hashtags

  • Great for finding the most popular hashtags

MetaHashtags

http://www.metahashtags.com/?fbclid=IwAR2i6JjpjS54w3nQKLWjKIup2Uy-r46s82ygKqXUOFLs6TKII96jwMgWfe0

  • Great for finding hashtags related to the topic & what other posts are using them

For Display Purposes only

https://displaypurposes.com/

  • Great for combining hashtags ideas for one particular post.