{exp:stash:set trim="yes" parse_tags="yes" process="start"} {stash:entry_id}{segment_1}{segment_2}{segment_3}{/stash:entry_id} {/exp:stash:set} {exp:stash:parse process="end"} {stash:embed:global-v4:base} {exp:stash:set name="{stash:entry_id}_body"} {!-- ================= BEGIN BODY MAIN CORE ================= --}

Subscribed!

Hawaii Travel Tips via Email...

Confirmed! You're on the list...

We'll periodically send you travel tips as you requested. As always, if we can assist you with anything while planning your perfect Hawaii trip, please don't hesitate to contact us with any questions.

Aloha,
VCDerrick Signature
Victoria C. Derrick
Hawaii Travel Specialist
Hawaii-Guide

{if '{segment_3}'!=''} {exp:channel:entries channel="leads" entry_id="{segment_3}" dynamic="no" disable="categories|member_data|pagination" limit="1" status="not Closed"} {exp:stash:set:nested name="island_choice" trim="yes" parse_tags="yes"} {lead_island}{option}{/lead_island} {/exp:stash:set:nested} {exp:stash:set_list name="island_choices" trim="yes" parse_tags="yes" parse_conditionals="yes"} {lead_islands} {stash:islands}{option}{/stash:islands} {/lead_islands} {/exp:stash:set_list} {exp:stash:set:nested name="date_diff" parse_tags="yes" trim="yes"} {exp:ce_str:ing php} diff($date2); $value = (($diff->format('%y') * 12) + $diff->format('%m')); //echo $value; // values of the drip campaigns to subscribe the user too if ($value===7) { echo 49916812; } elseif ($value===6) { echo 95615344; } elseif ($value===5) { echo 24686310; } elseif ($value===4) { echo 71572626; } elseif ($value===3) { echo 57524221; } elseif ($value===2) { echo 47722480; } elseif ($value===1) { echo 9796717; } else { } } //if } //if ?> {/exp:ce_str:ing} {/exp:stash:set:nested} {!-- Determine the User Interests --} {exp:stash:set_list:nested name="interests" parse_tags="yes" trim="yes" parse_conditionals="yes"} {exp:playa:children entry_id="{segment_3}" field="lead_trip_interests_rel|lead_trip_activities_rel" var_prefix="int"} {int:title} {/exp:playa:children} {/exp:stash:set_list:nested} {!-- Determine the User Trip Purpose --} {exp:stash:set_list name="purpose" parse_tags="yes" trim="yes" parse_conditionals="yes"} {exp:playa:children entry_id="{segment_3}" field="lead_trip_purpose_rel" var_prefix="pur"} {pur:title} {/exp:playa:children} {/exp:stash:set_list} {!-- Determine the User Lodging Preference --} {exp:stash:set_list name="lodging" parse_tags="yes" trim="yes" parse_conditionals="yes"} {exp:playa:children entry_id="{segment_3}" field="lead_trip_lodging_rel" var_prefix="lod"} {lod:title} {/exp:playa:children} {/exp:stash:set_list} {!-- Determine the User Activities Preference --} {exp:stash:set_list name="activities" parse_tags="yes" trim="yes" parse_conditionals="yes"} {exp:playa:children entry_id="{segment_3}" field="lead_trip_activities_rel" var_prefix="act"} {act:title} {/exp:playa:children} {/exp:stash:set_list} {/exp:channel:entries} {exp:ce_str:ing php} '2'}, and {if:elseif '{total_results}'=='{count}' && '{count}'!='1'} and {if:elseif '{total_results}'>2 && '{count}'>'1'}, {/if}{islands}{/exp:stash:get_list}'; $cookie_lid = '{segment_3}'; setcookie("guidelink_lid", $cookie_lid, time() + (86400 * 180), '/'); // 86400 = 1 day setcookie("guidelink_island", $cookie_island, time() + (86400 * 180), '/'); // 86400 = 1 day if (isset($cookie_island2)) { setcookie("guidelink_island2", $cookie_island2, time() + (86400 * 180), '/'); // 86400 = 1 day } ?> {/exp:ce_str:ing} {exp:channel:entries channel="leads" entry_id="{segment_3}" dynamic="no" disable="categories|member_data|pagination" limit="1" status="not Closed|draft" track_views="two"} {!-- ========= GETDRIP INTEGRATION BEGIN ========= --} {exp:switchee variable="{lead_year}" parse="inward"} {case value="2020|2021|2022|2023|2024|2025"} {!--Change to 1 in Production--} {if '{view_count_two}' < '1' && '{exp:stash:date_diff}'!=''} {!-- for everyone within 7 months of visiting --} {if:else}{!--over 7 months or after initial viewing--} {/if}{!-- under or over 7 months --} {/case} {case value="" default="yes"} {/case} {/exp:switchee} {!-- ========= GETDRIP INTEGRATION END ========= --} {/exp:channel:entries} {/if}{!--segment_3--}
{!-- ================= END BODY MAIN CORE ================= --} {/exp:stash:set} {exp:stash:set name="{stash:entry_id}_header_tags" parse_tags="yes"} {if '{segment_3}'==''}{/if} {/exp:stash:set} {!-- Set the Entry Title --} {exp:stash:set name="{stash:entry_id}_meta_title" trim="yes"} Hawaii Email List | Hawaii-Guide {/exp:stash:set} {exp:stash:set name="{stash:entry_id}_canonical_url" trim="yes"} https://www.hawaii-guide.com{if segment_1}/{segment_1}{/if}{if segment_2}/{segment_2}{/if}{if segment_3}{segment_3}{/if} {/exp:stash:set} {/exp:stash:parse}