Osze - here’s my example for you:
In my template:
{exp:mx_jumper:out_global}
{!-- HEADER EMBED WITH INJECTED ENTRY-SPECIFIC DATA --}
{embed="{my_embedded_template_group}/.global-html-header"
the_entry_title="{entry_title}"
the_entry_seo_title="{entry_seo_title}"
the_entry_seo_description="{entry_seo_description}"
the_entry_seo_keywords="{entry_seo_keywords}"
the_section_title="{my_template_group_title}"
the_template_group="{my_template_group}"
}
{!-- [END] HEADER EMBED WITH INJECTED ENTRY-SPECIFIC DATA --}
<body>
The rest of my site content…
{exp:channel:entries channel="example" limit="20" orderby="date" sort="desc" disable="whatever|you|can|live|without" dynamic="no"}
{exp:mx_jumper:put name="entry_title"}{title}{/exp:mx_jumper:put}
{exp:mx_jumper:put name="entry_seo_title"}{example_seo_title}{/exp:mx_jumper:put}
{exp:mx_jumper:put name="entry_seo_description"}{example_seo_description}{/exp:mx_jumper:put}
{exp:mx_jumper:put name="entry_seo_keywords"}{example_seo_keywords}{/exp:mx_jumper:put}
Then whatever I intend to do with my channel entries…
{/exp:channel:entries}
{/exp:mx_jumper:out_global}
</body>
</html>
And in my embedded header:
<html>
<head>
{!-- SEO META DATA --}
<title>{if '{embed:the_entry_seo_title}' != ""}{embed:the_entry_seo_title}{if:elseif '{embed:the_entry_title}' != ""}{embed:the_entry_title}{if:else}{site_meta_title}{/if}{if '{embed:the_channel_title}' != ""} | {embed:the_channel_title}{/if}{if '{embed:the_section_title}' != ""} | {embed:the_section_title}{/if} | {site_name}</title>
<meta name="description" content="{if '{embed:the_entry_seo_description}' != ""}{embed:the_entry_seo_description}{if:else}{site_meta_description}{/if}" />
<meta name="keywords" content="{if '{embed:the_entry_seo_keywords}' != ""}{embed:the_entry_seo_keywords}{if:else}{site_meta_keywords}{/if}" />
{!-- [END] SEO META DATA --}
</head>
... among other things, but this is the basics. You’ll notice that I also use simple conditionals to determine whether the embedded variables contain content and if they do, use them, while if they don’t, I fall back to snippets I create for site-wide defaults that I put in their own “site settings” channel so the client can manipulate them too. And as you can see, in my channel field group I use a channel-specific set of three SEO fields - one for an alternate title, one for a description and one for keywords (and in my case, i usually use DevDemon’s awesomely free Tagger add-on for that field). I also add a few other items to my embedded variables - like a template group title and a section title - which are then again only used if they are in fact passed to the html header. These are for showing hierarchy rather than just a site name and an entry url title.
I’m certainly not saying it’s a best practice, but it’s worked very well for me on numerous sites. Granted, there’s quite a number of conditionals in there, but I’ve kept them very simple so it doesn’t seem to slow things down and with Jumper’s help, it’s only calling the channel module once.
I hope that’s useful to you.