Preheat your oven to 375°F (190°C).
In a large bowl, whisk together the eggs, heavy cream or milk, salt, and black pepper until well combined and slightly frothy.
Heat the olive oil or butter in a 10-inch oven-safe, non-stick skillet over medium heat.
If using, add the finely diced shallots and cook for 1-2 minutes until fragrant.
Add the fresh spinach to the skillet and cook until it wilts down, about 2-3 minutes. Spread the spinach evenly across the bottom of the skillet.
Scatter the roughly chopped smoked salmon over the spinach in the skillet.
Carefully pour the whisked egg mixture evenly over the salmon and spinach. Gently swirl the pan to ensure everything is distributed.
Cook the frittata on the stovetop over medium-low heat for about 3-5 minutes, or until the edges begin to set and pull away from the sides of the pan, but the center is still quite liquid.
Carefully transfer the skillet to the preheated oven. Bake for 15-20 minutes, or until the frittata is golden brown, puffed, and set in the center. A knife inserted into the center should come out clean.
Remove the frittata from the oven and let it rest for 5 minutes before slicing. Garnish with fresh dill and a sprinkle of capers, if desired. Serve warm and enjoy!