Hi im very new to expression engine.
im trying to get google analytics e-commerce setup.
When a booking is completed on my site the values of the booking are displayed:
CODE IN BOOKING TEMPLATE:
Booking Confirmation Number: {entry_id}
{assign_variable:google1="this is google 1"}
{assign_variable:google2={entry_id}}
{embed="site/footer"}results in this being displayed as output:
{assign_variable:google2=10050}
So it looks like the first variable IS being assigned, but the second is not.
I want to get the {entry_id} variable available to me in the footer template. Currently it is not available.
CODE IN FOOTER TEMPLATE
g1:{google1}
g2:{google2}
entry_id:{entry_id}results in this being displayed as output:
g1:{google1} g2:{google2} entry_id:{entry_id}
Google E-Commerce requires that the ecommerce section be called AFTER the main google code, The main google code is in the footer. This is why i need these variables availabe to me in the footer too.
So the question is: How can i get a variable that is available in the booking page assigned to another variable that is available in the footer?
Thanks very much.