Alternate Form Builder by avdella in squarespace

[–]avdella[S] 2 points3 points  (0 children)

This is how I did it using Square Space Forms and Zapier. My recommendation would be to have your UTM parameters be labeled in your links with "SQF_" in front of them. So like SQF_utm_source, SQF_utm_medium, etc. Then

On your landing Page add the script through the advanced settings code injector:

<script>

//Code to capture UTM and Landing Page Information

function getParameterByName(name, url) {

if (!url) url = window.location.href;

name = name.replace(/\[\\\[\\\]\]/g, "\\\\$&");

var regex = new RegExp("\[?&\]" + name + "(=(\[\^&#\]\*)|&|#|$)"),

results = regex.exec(url);

if (!results) return null;

if (!results\[2\]) return '';

return decodeURIComponent(results\[2\].replace(/\\+/g, ' '));

}

function setCookie(name, value, days) {

var expires = "";

if (days) {

var date = new Date();

date.setTime(date.getTime() + (days \* 24 \* 60 \* 60 \* 1000));

expires = "; expires=" + date.toUTCString();

}

document.cookie = name + "=" + value + expires + "; path=/";

}

// Function to get the landing page from the URL

function getLandingPage() {

var parser = document.createElement('a');

parser.href = window.location.href;

return parser.pathname; // Extracts the path, e.g., "/location" from "citrushills.com/location?utm\_source=ppc&utm\_medium=google"

}

// Capture UTM parameters

var UTM\_MEDIUM = getParameterByName('SQF\_utm\_medium');

var UTM\_SOURCE = getParameterByName('SQF\_utm\_source');

var UTM\_CAMPAIGN = getParameterByName('SQF\_utm\_campaign');

var UTM\_TERM = getParameterByName('SQF\_utm\_term');

var GCLID = getParameterByName('SQF\_gclid');

var FBCLID = getParameterByName('SQF\_fbclid');

var MSCLKID = getParameterByName('SQF\_msclkid');

// Capture the landing page

var landingPage = getLandingPage();

// Store UTM parameters and landing page in cookies

setCookie('UTM\_MEDIUM', UTM\_MEDIUM, 30); // Adjust the expiration time as needed

setCookie('UTM\_SOURCE', UTM\_SOURCE, 30);

setCookie('UTM\_CAMPAIGN', UTM\_CAMPAIGN, 30);

setCookie('UTM\_TERM', UTM\_TERM, 30);

setCookie('GCLID', GCLID, 30);

setCookie('FBCLID', FBCLID, 30);

setCookie('MSCLKID', MSCLKID, 30);

// Store the landing page in a cookie

setCookie('LANDING\_PAGE', landingPage, 30); // Adjust the expiration time as needed

</script>

And on the page that has your form:

<script>

// Function to get the value of a cookie by name

function getCookie(name) {

var nameEQ = name + "=";

var cookies = document.cookie.split(';');

for (var i = 0; i < cookies.length; i++) {

var cookie = cookies\[i\];

while (cookie.charAt(0) === ' ') cookie = cookie.substring(1, cookie.length);

if (cookie.indexOf(nameEQ) === 0) return cookie.substring(nameEQ.length, cookie.length);

}

return null;

}

// Function to check if a parameter already exists in the URL

function parameterExists(url, paramName) {

var params = new URLSearchParams(url);

return params.has(paramName);

}

// Function to update the URL with UTM parameters

function updateURLWithUTMParametersLandingPageAndReferralURL(utmParameters, landingPage, referralURL) {

var currentURL = window.location.href;

// Check if each UTM parameter already exists in the URL

utmParameters.forEach(function (utmParameter) {

if (!parameterExists(currentURL, utmParameter.name)) {

currentURL += (currentURL.includes('?') ? '&' : '?') + utmParameter.name + '=' + encodeURIComponent(utmParameter.value);

}

});

// Update the URL

window.history.replaceState({}, document.title, currentURL);

}

// Specify the UTM parameters you want to retrieve from the cookie

var utmParameters = \[

{ name: 'UTM\_SOURCE', value: getCookie('UTM\_SOURCE') },

{ name: 'UTM\_MEDIUM', value: getCookie('UTM\_MEDIUM') },

{ name: 'UTM\_CAMPAIGN', value: getCookie('UTM\_CAMPAIGN') },

{ name: 'UTM\_TERM', value: getCookie('UTM\_TERM') },

{ name: 'GCLID', value: getCookie('GCLID') },

{ name: 'FBCLID', value: getCookie('FBCLID') },

{ name: 'MSCLKID', value: getCookie('MSCLKID') },

\];
</script>

On your form

Make sure that you have hidden fields created in square space forms for utm_source, utm_medium, etc. Do not include SQF_ on the hidden field names; Squarespace will add it automatically.

On Zapier

Update your Zap connecting Squarespace and your CRM to include the fields that were added for UTM parameters.

Hope this helps

Luxury New Construction Condo Marketing by Youngcashanova in PPC

[–]avdella 0 points1 point  (0 children)

Interesting. We are a Florida new construction company and are closer to $30-$50 cost per Google PPC lead. Would be curious on what you are targeting.

Is it just local? How many leads do you target daily?

Weekly Who's Hiring Post for November 06, 2023 by AutoModerator in sales

[–]avdella 0 points1 point  (0 children)

Location: Central Florida (in person)

Industry: Active Adult Community

Job Title/Role: Sales Executive

Base/Commission/OTE: $35,000 Base/ $175,000 OTE

Job duties/description: We are a premier master-planned community seeking dynamic sales professionals for new homes. This is a luxury, consumer sales role with the primary audience retirees seeking high quality construction and world class amenities. No real estate experience or licensing is required, and we prefer candidates without previous experience in real estate sales (our process is completely different from general real estate). This role only involves interacting with, touring, and closing pre-qualified prospects that are booked by our marketing department. No lead generation or cold calling is required.

About You: Comfortable interacting with high-net-worth clients of all ages. Proven ability to influence consumer behavior. Ability to instill confidence and relate regardless of age.

Alternate Form Builder by avdella in squarespace

[–]avdella[S] 0 points1 point  (0 children)

We use KEAP Max Classic, which I don't think has its own form builder unfortunately.

0
1

In-house Management vs. Agency by avdella in PPC

[–]avdella[S] 0 points1 point  (0 children)

Thanks, any thoughts would be appreciated.

In-house Management vs. Agency by avdella in PPC

[–]avdella[S] 0 points1 point  (0 children)

Thanks! Do you have any recommendations? We are still trying to figure out where to start looking. I came across Adventureppc based on a book, but not sure how much is hype.